<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta http-equiv="Expires" content="0">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Cache" content="no-cache">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <!-- <% for (var i in
      htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %>
      <link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style" />
      <link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="stylesheet" />
	  <% } %> -->
  <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
  <script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.min.js"></script>

  <title><%= webpackConfig.name %></title>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it
      to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- 使用CDN加速的JS文件，配置在vue.config.js下 -->
  <!-- <% for (var i in
      htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
      <script async src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
    <% } %> -->
  <!-- built files will be auto injected -->

  <!-- <script src="http://wechatfe.github.io/vconsole/lib/vconsole.min.js?v=3.3.0"></script>
  <script>
    new window.VConsole()

  </script> -->
  <script>
    function getBizScenario() {
      var sUserAgent = navigator.userAgent.toLowerCase()
      var bIsApp = sUserAgent.indexOf('izzzwfwapp') > -1
      var bIsAlipay = sUserAgent.indexOf('alipayclient') > -1
      var isWx = sUserAgent.indexOf('micromessenger') > -1
      if (bIsApp) {
        return 'zhb'
      } else if (bIsAlipay) {
        return 'alipay'
      } else if (isWx) {
        return 'wechart'
      } else {
        return 'other'
      }
    }
    var bizScenario = getBizScenario()
    if (bizScenario === 'zhb') {
      window._to = {
        bizScenario: 'zhb'
      }
    } else if (bizScenario === 'wechart') {
      window._to = {
        bizScenario: bizScenario,
        server: 'https://mpaas.zhengzhou.gov.cn:442/loggw/webLog.do',
        appId: '286E095191758',
        workspaceId: 'default', // production test
        h5version: '1.0.0'
      }
    }
  </script>
  <script
    src="https://gw.alipayobjects.com/os/lib/alipay/mpaas-mtracker/1.1.1/dist/index.min.js?spm=a2c4g.11186623.2.6.18c82676v6LqVp&file=index.min.js"></script>
</body>

</html>
